select id,name,version from ${ database }.${ table } order by version desc limit 1;